<form action="{:url('config')}" class="form-edit" method="post">
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                <label class="required">公司名称</label>
                <div class="">
                    <input type="text" class="form-control" name="title" value="{$info.title|default=''}" readonly/>
                </div>
            </div>
        </div>
        <div class="col-md-2">
            <div class="form-group">
                <label class="required">联系人</label>
                <div>
                    <input type="text" class="form-control" name="contacts" value="{$info.contacts|default=''}"/>
                </div>
            </div>
        </div>
        <div class="col-md-2">
            <div class="form-group">
                <label class="required">联系电话</label>
                <div>
                    <input type="text" class="form-control" name="mobile" value="{$info.mobile|default=''}"/>
                </div>
            </div>
        </div>
        <div class="col-md-8">
            <div class="form-group">
                <label class="">联系地址</label>
                <div>
                    <input type="text" class="form-control" name="address" value="{$info.address|default=''}"/>
                </div>
            </div>
        </div>

        <div class="col-md-12">
            <div class="form-group">
                <label>其他说明</label>
                <div>
                    <textarea class="form-control" name="remark" rows="3">{$info.remark|default=''}</textarea>
                </div>
            </div>
        </div>
    </div>
    <hr style="margin-top: 0; margin-bottom: 15px; margin-left: -15px; margin-right: -15px;"/>
    <div class="text-right">
        <input type="hidden" name="id" value="{$info.id|default=''}">
        <button type="button" class="btn btn-default" data-dismiss="modal">
            <i class="icon icon-times"></i> 关闭
        </button>
        <button class="btn btn-primary ajax-post" type="submit" data-href="form-edit">
            <i class="icon icon-save"></i> 保存
        </button>
    </div>
</form>

